<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中商科技网站后台管理中心</title>
<link href="__PUBLIC__/Css/green/g.css" rel="stylesheet" />
<link href="__PUBLIC__/Css/green/index.css" rel="stylesheet" />
<script src="__PUBLIC__/Js/green/dropdown.js" type="text/javascript"></script>
<script language="javascript"> 
function changul(ulid)
{
for(var i=1;i<={$syscolumn|count};i++)
{
document.getElementById('ul'+i+'').className="undis";
document.getElementById('p'+i+'').className="mnomarl";
}
document.getElementById('ul'+ulid+'').className="dis";
document.getElementById('p'+ulid+'').className="mhover";
}
function changediv()
{
var cheight=document.documentElement.clientHeight;
var cwidth=document.documentElement.clientWidth;
if(document.getElementById("lhrp").innerHTML=="&lt;")
{ 
document.getElementById("leftbar").className="undis";
document.getElementById("lhrp").innerHTML=">";
document.getElementById("rightbar").style.width=cwidth-10+'px';
document.getElementById("smallmune").style.width=cwidth-10+'px';
}
else{
document.getElementById("leftbar").className="dis";
document.getElementById("lhrp").innerHTML="&lt;";
document.getElementById("rightbar").style.width=cwidth-210+'px';
document.getElementById("smallmune").style.width=cwidth-210+'px';
}
}
</script>
<script language="javascript" type="text/javascript">
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
 }
 node.onmouseout=function() {
 this.className=this.className.replace(" over", "");
 }
 }
 }
 }
}
</script>
<script language="javascript">
function switch_iframe_url(url,par_name,child_name){
	document.getElementById('htmliframe').src=url;
	document.getElementById('par_name').innerHTML=par_name;
	document.getElementById('child_name').innerHTML=child_name;
}
</script>
</head>
<body onresize="changdivwh();" onload="changdivwh();">

<div id="head">
<a href="#"><img src="__PUBLIC__/images/admin/green/logo.jpg" class="logo" /></a>
<ul><li>欢迎您，{$Think.session.admin}！</li><li>|</li><li><a href="{:U('Admin-Public/logout')}">安全退出</a></li></ul>
</div>


<div id="menu">
<div class="ggmenu">※ 系统菜单 ※</div>
<ul id="menuul">
<li><a href="#" rel='dropmenu1'>数据库管理</a></li><li><a href="#" rel='dropmenu2'>网站配置</a></li><li><a href="#" rel='dropmenu3'>网站跳转</a></li><li><a href="#" rel='dropmenu4'>快捷操作</a></li>
</ul>
</div>


<div class="clear"></div>
<div id="leftbar" class="leftbarheight">
<h3 class="leftbarh3">※ 网站功能菜单 ※</h3>

<volist name="syscolumn" id="vo" key="i">
<eq name="i" value="1">
<p id="p{$i}" onclick="changul({$i});" class="mhover">{$vo['p']['col_name']}</p>
<ul id="ul{$i}" class="dis">
<else/>
<p id="p{$i}" onclick="changul({$i});" class="mnomarl">{$vo['p']['col_name']}</p>
<ul id="ul{$i}" class="undis">
</eq>

<volist name="vo.c" id="v" key="k">
<li><a href="#" onclick="javascript:switch_iframe_url('{$v.col_url}','{$vo['p']['col_name']}','{$v.col_name}')"><span>> {$v.col_name}</span></a></li>
</volist>
</ul>

</volist>

</div>
<div id="lhr" onclick="changediv();">
<p id="lhrp"><</p>
</div>
<div id="rightbar">
<div id="wherewz"><div>路径：<a href="{:U('Admin-Index/index')}">首页</a> > <span id="par_name">网站配置</span> > <span id="child_name">网站配置</span></div><!--<div class="fenge_line"><ul><a href="" class="a_auto">添加</a></ul><ul><a href="" class="a_auto">批量删除</a></ul></div><div style=" float:right;"><form action="" method="get"><input type="text" value="请输入关键词" class="input_text" /><input type="submit" value="" class="input_button" /></form></div>--></div>
<div id="smallmune" class="undis">
<ul id="dropmenu1" class="dropmenu"><li><a href="#" onclick="javascript:switch_iframe_url('{:U('Admin-Public/db2')}','数据库管理','数据库管理')">数据库操作</a></li><li><!--|</li><li><a href="#">数据库管理</a></li>--></ul>
<ul id="dropmenu2" class="dropmenu"><li><a  href="#" onclick="javascript:switch_iframe_url('{:U('Admin-Websetup/edit/id/1')}','网站配置','网站配置')">网站配置</a></li><li><!--|</li><li><a href="#">网站配置</a></li>--></ul>
<ul id="dropmenu3" class="dropmenu"><li><a href="__APP__" target="_blank">网站首页</a></li><li>|</li><li><a href="{:U('Admin-Index/index')}">后台首页</a></li></ul>
<ul id="dropmenu4" class="dropmenu"><li><a href="javascript:history.go(-1);">后退</a></li><li>|</li><li><a href="javascript:history.go(1);">前进</a></li></ul>
<script type="text/javascript">cssdropdown.startchrome("menuul")</script> 
</div>
<div id="iframeboxdiv">
<iframe id="htmliframe" name="htmliframe" frameborder="0" src="{$main_url}" width="100%" height="100%"></iframe>
</div>
</div>
<div class="clear"></div>
<div id="bottom">
<p>公司链接： <a href="http://www.hzcnb.com" target="_blank">中商科技</a>-<a href="http://www.yopin.net" target="_blank">优品网站建设</a></p>
</div>
<!--<div id="menubot">
<ul id="nav"> 
 <li><a href="#">菜单导航</a> 
 <ul>
 <li style="height:11px;"><img src="__PUBLIC__/images/admin/green/bg2.gif" /></li>
 <li><a href="#">菜单导航</a></li> 
 <li><a href="#">菜单导航</a></li> 
 <li><a href="#">菜单导航</a></li> 
 <li class="mbgbot"><span>菜单导航</span></li>
 </ul> 
 </li> 
 <li><a href="#">菜单导航</a> 
 <ul> 
 <li style="height:11px;"><img src="__PUBLIC__/images/admin/green/bg2.gif" /></li>
 <li><a href="#">菜单导航</a></li> 
 <li><a href="#">菜单导航</a></li> 
 <li><a href="#">菜单导航</a></li> 
 <li><a href="#">菜单导航</a></li> 
 <li><a href="#">菜单导航</a></li> 
 <li class="mbgbot"><span>菜单导航</span></li>
 </ul> 
 </li>  
</ul> 
</div>-->
<script type="text/javascript">
function changdivwh(){
var cheight=document.documentElement.clientHeight;
var cwidth=document.documentElement.clientWidth;
document.getElementById("leftbar").style.height=cheight-108+'px';
document.getElementById("rightbar").style.height=cheight-108+'px';
document.getElementById("rightbar").style.width=cwidth-210+'px';
document.getElementById("smallmune").style.width=cwidth-210+'px';
document.getElementById("lhr").style.height=cheight-108+'px';
document.getElementById("iframeboxdiv").style.height=cheight-136+'px';
document.getElementById("iframeboxdiv").style.width=cwidth-210+'px';
}
</script>
</body>
</html>
